package com.gitee.wsl.func.procedure

import com.gitee.wsl.func.consumer.Consumer

/**
 * A Procedure is a single argument lambda which has no return argument.
 */
interface Procedure<T> : Consumer<T> {

    fun value(each: T)

    override fun accept(each: T) {
        this.value(each)
    }
}